Restores the constrained degrees-of-freedom from the boundary conditions applied by apply_boundary_conditions.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(inout), | dimension(:) | :: | gdof |
An array of the global degrees of freedom to restrain. The array is sorted into ascending order on output. |
|
| real(kind=real64), | intent(in), | dimension(:) | :: | x |
The constrained vector. |
The altered vector.
Restores constrained rows and columns to a reduced CSR matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(inout), | dimension(:) | :: | gdof |
An array of the global degrees of freedom to restrain. The array is sorted into ascending order on output. |
|
| type(csr_matrix), | intent(in) | :: | x |
The reduced CSR matrix. |
The expanded CSR matrix with zero constrained rows and columns.